str = input("请输入字符串:")

a = 0
b = 0
c = 0
for i in str:
    if i.isalpha():
       a+=1
       continue
    if i.isdigit():
        b+=1
        continue
    if i.isspace():
        c+=1
        continue

print(f"字符的数量为{a},数字的数量为{b},空格的数量为:{c}")